package com.cskaoyan.shopping.service;

import com.cskaoyan.shopping.dto.CartProductDto;
import com.cskaoyan.shopping.form.CartRequest;

import java.util.List;

public interface ShoppingCartsService {
    void updateCarts(CartRequest cart);

    void deleteCarts(Long userId, Long productId);

    void deleteCartsChecked(Long userId);

    void selectAllCarts(CartRequest cart);

    void addCarts(CartRequest cart);

    List<CartProductDto> queryCarts(Long userId);
}
